package com.kunbo.cn.entity.core.customer;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import lombok.Data;

/**
 * 客户用户数据权限
 * @author  编写人:刘义
 * @date 时间:2019年3月18日下午5:34:51
 */
@Entity
@Table(name = "business_customer_users_data_permissions")
@GenericGenerator(name = "jpa-uuid", strategy = "uuid")
@EntityListeners(AuditingEntityListener.class)
@Data
public class CustomerDataPermissions {
	
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(generator = "jpa-uuid")
	@Column(length = 32)
	private String id;		
	private String uuid;
	private String create_user_id;
	private String userid; //用户id
	private Integer customerid;//客户id
	private String create_time;//创建时间
	private Integer create_pople;//创建人
	private String type;//类型
}
